package com.ship.dispatch.bean.fob;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ship.common.core.base.Joinable;
import com.ship.common.core.mapping.Label;
import com.ship.common.core.mapping.TableColumn;
import com.ship.dispatch.annotation.ModifiableField;
import lombok.Data;

import java.util.Date;

/**
 * 每月租金
 */
@Data
@TableName("sp_fob_sublease_month_rent")
public class SpFobSubleaseMonthRent extends SpFobBaseBean implements Joinable {
    @ModifiableField(name = "租金结算")
    @Label(value = "租金结算")
    @TableColumn
    private String rent;
    @ModifiableField(name = "租金结算")
    @Label(value = "租金结算")
    @TableColumn
    private String days;
    @ModifiableField(name = "租金结算")
    @Label(value = "租金结算")
    @TableColumn
    private String amount;
    @ModifiableField(name = "截止支付时间")
    @Label(value = "截止支付时间")
    @TableColumn
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date payDate;
    @Label(value = "发票")
    @TableColumn
    private String invoice;
    @Label(value = "业务模版")
    @TableColumn
    private String serviceTemplate;
    @Label(value = "业务模版上传")
    @TableColumn
    private String serviceOther;
    @Label(value = "备注")
    @TableColumn
    private String remark;
    @Label(value = "同步id")
    @TableColumn
    private Long orderId;
    @TableColumn
    private Integer approvalStatus;
    @TableColumn
    private String approvalProcess;
    @TableColumn
    private Integer currency;
    @Override
    public String getLabel() {
        return null;
    }

    @Override
    public String getValue() {
        return null;
    }
}
